package org.darkforest.model;

import org.darkforest.common.util.Page;

import java.math.BigDecimal;
import java.util.List;

public class GoodsCommon extends Page<GoodsCommon>{
    private Integer goodsCommonid;  //商品公共ID

    private String goodsName;  // 商品名称

    private String goodsJingle; //商品广告词

    private Integer gcId;  //分类id  （组合）

    private Integer gcId1;//一级分类

    private Integer gcId2; //二级分类

    private Integer gcId3; //三级分类

    private String gcName; //分类名称     （组合）

    private String gcName1;     //一级分类名（显示使用）

    private String gcName2;     //二级分类名（显示使用）

    private Integer storeId;  //店铺ID

    private String storeName;  //店铺名称

    private String specName;  //规格名称

    private String specValue;  //规格值(数据库中为text类型，)）

    private Integer brandId;  //品牌ID

    private String brandName; //品牌名称

    private Integer typeId; //类型id

    private String goodsImage; //商品主图

    private Byte goodsState;  //商品状态 0下架，1正常，10违规（禁售）

    private String goodsStateremark;  //违规原因

    private Byte goodsVerify;  //商品审核 1通过，0未通过，10审核中

    private String goodsVerifyremark;  //审核失败原因

    private Byte goodsLock;  //商品锁定 0未锁，1已锁

    private String goodsAddtime; //  商品添加时间

    private String goodsSelltime; //上架时间

    private BigDecimal goodsPrice; //商品价格

    private BigDecimal goodsMarketprice; //市场价

    private BigDecimal goodsCostprice; //成本价

    private Float goodsDiscount;  //折扣

    private String goodsSerial;  //商家编号

    private Integer goodsStorageAlarm; //库存报警值 改为使用Goods对象中属性

    private Integer transportId;  //运费模板

    private String transportTitle;

    private Byte goodsCommend;

    private BigDecimal goodsFreight;

    private Byte goodsVat;

    private Integer areaid1;

    private Integer areaid2;

    private String goodsStcids;

    private Integer plateidTop;

    private Integer plateidBottom;

    private Integer goodsStorage; //商品库存 改为使用Goods对象中属性

    private Integer goodsSalenum;   //查询统计字段 -- 销量

    private Integer goodsType; //商品类型 0 普通 1 活动商品

    private Integer useCoupon;


    private Integer commissionType; //分佣类型
    private Integer commissionRate; //分佣比例

    private List<Integer> tagIds;



    private List<Goods> goodsList; //具体商品信息

    private Integer scId;

    public Integer getCommissionType() {
        return commissionType;
    }

    public void setCommissionType(Integer commissionType) {
        this.commissionType = commissionType;
    }

    public Integer getCommissionRate() {
        return commissionRate;
    }

    public void setCommissionRate(Integer commissionRate) {
        this.commissionRate = commissionRate;
    }

    public List<Integer> getTagIds() {
        return tagIds;
    }

    public void setTagIds(List<Integer> tagIds) {
        this.tagIds = tagIds;
    }

    public List<Goods> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<Goods> goodsList) {
        this.goodsList = goodsList;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public GoodsCommon(){};
    public GoodsCommon(Integer storeId){
        this.storeId = storeId;

    }


    public Integer getGcId3() {
        return gcId3;
    }

    public void setGcId3(Integer gcId3) {
        this.gcId3 = gcId3;
    }

    public Integer getGoodsSalenum() {
        return goodsSalenum;
    }

    public void setGoodsSalenum(Integer goodsSalenum) {
        this.goodsSalenum = goodsSalenum;
    }

    public Integer getGoodsCommonid() {
        return goodsCommonid;
    }

    public void setGoodsCommonid(Integer goodsCommonid) {
        this.goodsCommonid = goodsCommonid;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getGoodsJingle() {
        return goodsJingle;
    }

    public void setGoodsJingle(String goodsJingle) {
        this.goodsJingle = goodsJingle == null ? null : goodsJingle.trim();
    }

    public Integer getGcId() {
        return gcId;
    }

    public void setGcId(Integer gcId) {
        this.gcId = gcId;
    }

    public Integer getGcId1() {
        return gcId1;
    }

    public void setGcId1(Integer gcId1) {
        this.gcId1 = gcId1;
    }

    public Integer getGcId2() {
        return gcId2;
    }

    public void setGcId2(Integer gcId2) {
        this.gcId2 = gcId2;
    }

//    public Integer getGcId3() {
//        return gcId3;
//    }
//
//    public void setGcId3(Integer gcId3) {
//        this.gcId3 = gcId3;
//    }

    public String getGcName() {
        return gcName;
    }
    public void setGcName(String gcName) {
        this.gcName = gcName == null ? null : gcName.trim();
    }

    public Integer getStoreId() {
        return storeId;
    }
    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }
    public void setStoreName(String storeName) {
        this.storeName = storeName == null ? null : storeName.trim();
    }

    public String getSpecName() {
        return specName;
    }
    public void setSpecName(String specName) {
        this.specName = specName == null ? null : specName.trim();
    }

    public Integer getBrandId() {
        return brandId;
    }
    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }
    public void setBrandName(String brandName) {
        this.brandName = brandName == null ? null : brandName.trim();
    }

    public Integer getTypeId() {
        return typeId;
    }
    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getGoodsImage() {
        return goodsImage;
    }
    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage == null ? null : goodsImage.trim();
    }

    public Byte getGoodsState() {
        return goodsState;
    }
    public void setGoodsState(Byte goodsState) {
        this.goodsState = goodsState;
    }

    public String getGoodsStateremark() {
        return goodsStateremark;
    }
    public void setGoodsStateremark(String goodsStateremark) {
        this.goodsStateremark = goodsStateremark == null ? null : goodsStateremark.trim();
    }

    public Byte getGoodsVerify() {
        return goodsVerify;
    }
    public void setGoodsVerify(Byte goodsVerify) {
        this.goodsVerify = goodsVerify;
    }

    public String getGoodsVerifyremark() {
        return goodsVerifyremark;
    }
    public void setGoodsVerifyremark(String goodsVerifyremark) {
        this.goodsVerifyremark = goodsVerifyremark == null ? null : goodsVerifyremark.trim();
    }

    public Byte getGoodsLock() {
        return goodsLock;
    }
    public void setGoodsLock(Byte goodsLock) {
        this.goodsLock = goodsLock;
    }

    public String getGoodsAddtime() {
        return goodsAddtime;
    }
    public void setGoodsAddtime(String goodsAddtime) {
        this.goodsAddtime = goodsAddtime;
    }

    public String getGoodsSelltime() {
        return goodsSelltime;
    }
    public void setGoodsSelltime(String goodsSelltime) {
        this.goodsSelltime = goodsSelltime;
    }

    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }
    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getGoodsMarketprice() {
        return goodsMarketprice;
    }
    public void setGoodsMarketprice(BigDecimal goodsMarketprice) {
        this.goodsMarketprice = goodsMarketprice;
    }

    public BigDecimal getGoodsCostprice() {
        return goodsCostprice;
    }
    public void setGoodsCostprice(BigDecimal goodsCostprice) {
        this.goodsCostprice = goodsCostprice;
    }

    public Float getGoodsDiscount() {
        return goodsDiscount;
    }
    public void setGoodsDiscount(Float goodsDiscount) {
        this.goodsDiscount = goodsDiscount;
    }

    public String getGoodsSerial() {
        return goodsSerial;
    }
    public void setGoodsSerial(String goodsSerial) {
        this.goodsSerial = goodsSerial == null ? null : goodsSerial.trim();
    }

    public Integer getTransportId() {
        return transportId;
    }
    public void setTransportId(Integer transportId) {
        this.transportId = transportId;
    }

    public String getTransportTitle() {
        return transportTitle;
    }
    public void setTransportTitle(String transportTitle) {
        this.transportTitle = transportTitle == null ? null : transportTitle.trim();
    }

    public Byte getGoodsCommend() {
        return goodsCommend;
    }
    public void setGoodsCommend(Byte goodsCommend) {
        this.goodsCommend = goodsCommend;
    }

    public BigDecimal getGoodsFreight() {
        return goodsFreight;
    }
    public void setGoodsFreight(BigDecimal goodsFreight) {
        this.goodsFreight = goodsFreight;
    }

    public Byte getGoodsVat() {
        return goodsVat;
    }
    public void setGoodsVat(Byte goodsVat) {
        this.goodsVat = goodsVat;
    }

    public Integer getAreaid1() {
        return areaid1;
    }
    public void setAreaid1(Integer areaid1) {
        this.areaid1 = areaid1;
    }

    public Integer getAreaid2() {
        return areaid2;
    }
    public void setAreaid2(Integer areaid2) {
        this.areaid2 = areaid2;
    }

    public String getGoodsStcids() {
        return goodsStcids;
    }
    public void setGoodsStcids(String goodsStcids) {
        this.goodsStcids = goodsStcids == null ? null : goodsStcids.trim();
    }

    public Integer getPlateidTop() {
        return plateidTop;
    }
    public void setPlateidTop(Integer plateidTop) {
        this.plateidTop = plateidTop;
    }

    public Integer getPlateidBottom() {
        return plateidBottom;
    }
    public void setPlateidBottom(Integer plateidBottom) {
        this.plateidBottom = plateidBottom;
    }

    public String getSpecValue() {
        return specValue;
    }
    public void setSpecValue(String specValue) {
        this.specValue = specValue == null ? null : specValue.trim();
    }

    public String getGcName1() {
        return gcName1;
    }
    public void setGcName1(String gcName1) {
        this.gcName1 = gcName1;
    }

    public String getGcName2() {
        return gcName2;
    }
    public void setGcName2(String gcName2) {
        this.gcName2 = gcName2;
    }

    public Integer getGoodsStorageAlarm() {
        return goodsStorageAlarm;
    }
    public void setGoodsStorageAlarm(Integer goodsStorageAlarm) {
        this.goodsStorageAlarm = goodsStorageAlarm;
    }

    public Integer getGoodsStorage() {
        return goodsStorage;
    }
    public void setGoodsStorage(Integer goodsStorage) {
        this.goodsStorage = goodsStorage;
    }

    public Integer getUseCoupon() {
        return useCoupon;
    }
    public void setUseCoupon(Integer useCoupon) {
        this.useCoupon = useCoupon;
    }

    public Integer getScId() {
        return scId;
    }
    public void setScId(Integer scId) {
        this.scId = scId;
    }
}